From: T.V. Raman Date: Fri, 8 Apr 2011 16:15:30 +0000 (-0400) Subject: * src/xml.c (parse_region): Avoid creating spurious whiespace nodes. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~4175 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=804442c519f2312bb0e534b8d8aaac1ef429e6ed;p=emacs.git * src/xml.c (parse_region): Avoid creating spurious whiespace nodes. See http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00200.html --- diff --git a/src/ChangeLog b/src/ChangeLog index dfce282666b..f46bfb78afb 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2011-04-08 T.V. Raman (tiny change) + + * xml.c (parse_region): Avoid creating spurious whiespace nodes. + 2011-04-08 Chong Yidong * keyboard.c (read_char): Call Lisp function help-form-show, diff --git a/src/xml.c b/src/xml.c index d8e6f8c3faa..63041c96b24 100644 --- a/src/xml.c +++ b/src/xml.c @@ -113,7 +113,7 @@ parse_region (Lisp_Object start, Lisp_Object end, Lisp_Object base_url, int html doc = xmlReadMemory ((char *) BYTE_POS_ADDR (CHAR_TO_BYTE (istart)), bytes, burl, "utf-8", XML_PARSE_NONET|XML_PARSE_NOWARNING| - XML_PARSE_NOERROR); + XML_PARSE_NOBLANKS |XML_PARSE_NOERROR); if (doc != NULL) {